<template>
	<view style="padding: 30rpx;">
		<!-- 按钮，打印日志 -->
		<button @click="onLog()">Console.log</button>
		<button @click="onDebug()">Console.debug</button>
		<button @click="onInfo()">Console.info</button>
		<button @click="onWarn()">Console.warn</button>
		<button @click="onError()">Console.error</button>
	</view>
</template>

<script>
	export default{
			data(){
				return{
					myname:"fbn",
					title:"APIs"
				}
			},
			methods: {
				onLog(){
					//打印一个日志
					console.log("onLog()--> myname:"+ this.myname);
					console.log("clog+enter");
					console.log("onLog()",this.myname,this.title);
					console.log('this.myname:',this.myname);
				},
				onDebug(){
					console.debug("onDebug")
				},
				onInfo(){
					console.info("onInfo")
				},
				onWarn(){
					console.warn("onWarn")
				},
				onError(){
					console.error("onError")
				}
			}
		}
	</script>
	
	<style>
		       
	</style>
	